]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Add explicit dependency on Xfixes
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 1 May 2024 20:33:43 +0000 (22:33 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 27 Aug 2025 18:33:13 +0000 (18:33 +0000)
We use the xfixes extensions in tray icons but we rely on the dependency
brought to us from other libraries as mutter but let's make it explicit

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3818>

meson.build
src/tray/meson.build

index 537d6eb9552800d3fcbc96f032fbdf0d25404b68..b4f8058b953697dd4ff7ba76cd20d966a3a070ca 100644 (file)
@@ -92,6 +92,7 @@ have_x11 = mutter_dep.get_variable('have_x11') == 'true'
 have_x11_client = mutter_dep.get_variable('have_x11_client') == 'true'
 if have_x11_client or have_x11
   x11_dep = dependency('x11')
+  xfixes_dep = dependency('xfixes')
 endif
 
 if not have_fonts
index 1a86bcbabb4c738f0726f652d936677d06fbe805..2fc73f3a48af72140f3b7d50f8200af4ae06cab9 100644 (file)
@@ -9,6 +9,6 @@ tray_sources = [
 
 libtray = static_library('tray', tray_sources,
   c_args: ['-DG_LOG_DOMAIN="notification_area"'],
-  dependencies: [mutter_dep, mtk_dep],
+  dependencies: [mutter_dep, mtk_dep, xfixes_dep],
   include_directories: conf_inc
 )